package com.xdap.water.pojo;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;
import com.definesys.mpaas.query.json.MpaasDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Table("gt_project_tzjd")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GtProjectInvestSchedulePojo extends SystemCommonPojo {
    @Style(displayName = "项目名称")
    @Column("pro_name")
    private String projectName;

    @Style(displayName = "项目编码")
    @Column("pro_code")
    private String projectCode;

    @Style(displayName = "年份月份")
    @JsonSerialize(using = MpaasDateSerializer.class)
    @Column("tz_date")
    private Date yearMonth;

    @Style(displayName = "单月计划投资(万元)")
    @Column("dyjhtz")
    private Double singleMonthPlanInvestAmount;

    @Style(displayName = "累计计划投资(万元)")
    @Column("ljjhtz")
    private Double totalPlanInvestAmount;

    @Style(displayName = "单月实际投资(万元)")
    @Column("dysjtz")
    private Double singleMonthActualInvestAmount;

    @Style(displayName = "累计实际投资(万元)")
    @Column("ljsjtz")
    private Double totalActualInvestAmount;

    @Style(displayName = "项目负责人")
    @Column("pro_fzr")
    private String projectLeader;
}
